package com.henu.col05023.common.data;

import com.henu.col05023.common.CommonUtil;
import com.henu.col05023.common.bo.PassWord;

public class Student {
	private String studentNo;
	private String password;
	private String name;
	private String sex;
	private String sexName;
	private String phoneNo;
	private String phoneNo2;
	private String qq;
	private String email;
	private String company;
	private String address;
	
	private int showNum = 1;
	
	public int getShowNum() {
		return showNum;
	}
	public void setShowNum(int showNum) {
		this.showNum = showNum;
	}
	public String getAddress() {
		return CommonUtil.nvlToString(address);
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCompany() {
		return CommonUtil.nvlToString(company);
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getEmail() {
		return CommonUtil.nvlToString(PassWord.decode(email));
	}
	public String getEmail(boolean isdecode) {
		if(isdecode){
			return getEmail();
		}
		return CommonUtil.nvlToString(email);
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getName() {
		return CommonUtil.nvlToString(name);
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return CommonUtil.nvlToString(PassWord.decode(password));
	}
	public String getPassword(boolean isdecode) {
		if(isdecode)
			return getPassword();
		return CommonUtil.nvlToString(password);
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhoneNo() {
		return CommonUtil.nvlToString(PassWord.decode(phoneNo));
	}
	public String getPhoneNo(boolean isdecode) {
		if(isdecode)
			return getPhoneNo();
		return CommonUtil.nvlToString(phoneNo);
	}
	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}
	public String getPhoneNo2() {
		return CommonUtil.nvlToString(PassWord.decode(phoneNo2));
	}
	public String getPhoneNo2(boolean isdecode) {
		if(isdecode)
			return getPhoneNo2();
		return CommonUtil.nvlToString(phoneNo2);
	}
	public void setPhoneNo2(String phoneNo2) {
		this.phoneNo2 = phoneNo2;
	}
	public String getQq() {
		return CommonUtil.nvlToString(PassWord.decode(qq));
	}
	public String getQq(boolean isdecode) {
		if(isdecode)
			return getQq();
		return CommonUtil.nvlToString(qq);
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getSex() {
		return CommonUtil.nvlToString(sex);
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getSexName() {
		return CommonUtil.nvlToString(sexName);
	}
	public void setSexName(String sexName) {
		this.sexName = sexName;
	}
	public String getStudentNo() {
		return CommonUtil.nvlToString(studentNo);
	}
	public void setStudentNo(String sutdentNo) {
		this.studentNo = sutdentNo;
	}
	
}
